Vector Error Correction Model (VECM) using R {https://t.co/wdSwUxWaRG} #rstats #DataScience
— R-bloggers (@Rbloggers) December 25, 2021
FOCI: a new method for feature selection {https://t.co/Dpo5CDIP69} #rstats #DataScience
— R-bloggers (@Rbloggers) December 24, 2021
Inclusion Process and Sticky Brownian Motions {https://t.co/lApBrJRCU1} #rstats #DataScience
— R-bloggers (@Rbloggers) December 24, 2021
Introduction to Geospatial Visualization with the tmap package {https://t.co/fPasXDp9jb} #rstats #DataScience
— R-bloggers (@Rbloggers) December 31, 2021
Examining College Football Conference Realignment with {ggraph} {https://t.co/tEgyjM8Jx1} #rstats #DataScience
— R-bloggers (@Rbloggers) December 29, 2021
Sample and Population Variance in R {https://t.co/I1MoWtsWEA} #rstats #DataScience
— R-bloggers (@Rbloggers) December 28, 2021
More player analysis with gganimate() {https://t.co/B1b1Av8SSU} #rstats #DataScience
— R-bloggers (@Rbloggers) December 30, 2021
Exploring College Football Non-Conference Rivalries with {ggraph} {https://t.co/CNia60ANkQ} #rstats #DataScience
— R-bloggers (@Rbloggers) December 27, 2021
Some Interesting Issues in VECM using R {https://t.co/5EiezfNqZ8} #rstats #DataScience
— R-bloggers (@Rbloggers) December 28, 2021
Advent of 2021, Day 24 – Data Visualisation with Spark {https://t.co/AmPLCRSGFB} #rstats #DataScience
— R-bloggers (@Rbloggers) December 24, 2021
Exploring the XI Correlation Coefficient {https://t.co/MsNzNHJgjk} #rstats #DataScience
— R-bloggers (@Rbloggers) December 29, 2021
Simulating dice bingo {https://t.co/PdSaukwhNo} #rstats #DataScience
— R-bloggers (@Rbloggers) December 30, 2021
Get and Set working directory (setwd / getwd) in R {https://t.co/TfA3CLY49r} #rstats #DataScience
— R-bloggers (@Rbloggers) December 30, 2021
Advent of 2021, Day 25 – Spark literature, documentation, courses and books {https://t.co/SGScPCnYVn} #rstats #DataScience
— R-bloggers (@Rbloggers) December 25, 2021
ANOVA in R – How To Implement One-Way ANOVA From Scratch {https://t.co/ItFWi9vMbx} #rstats #DataScience
— R-bloggers (@Rbloggers) December 21, 2021
Hundreds of Statistical/Machine Learning models for univariate time series, using ahead, {https://t.co/ofxWxG0Mvv} #rstats #DataScience
— R-bloggers (@Rbloggers) December 20, 2021
My Courses are now Free {https://t.co/22fMz1NNDA} #rstats #DataScience
— R-bloggers (@Rbloggers) December 3, 2021
New Book on Machine Learning {https://t.co/Qn1knpQWTC} #rstats #DataScience
— R-bloggers (@Rbloggers) December 23, 2021
How to Connect R to Google Sheets Using googlesheets4 {https://t.co/0DOZu3l9pc} #rstats #DataScience
— R-bloggers (@Rbloggers) December 17, 2021
How to google R stuff {https://t.co/N5dRU6dKbs} #rstats #DataScience
— R-bloggers (@Rbloggers) December 16, 2021
What statistical test should I do? {https://t.co/wR0oXOVXgN} #rstats #DataScience
— R-bloggers (@Rbloggers) December 2, 2021
9 new books added to Big Book of R {https://t.co/zT84wY8Cwb} #rstats #DataScience
— R-bloggers (@Rbloggers) December 6, 2021
Heterogeneous Treatment Effects with Instrumental Variables: A Causal Machine Learning {https://t.co/PMQGBi97UH} #rstats #DataScience
— R-bloggers (@Rbloggers) December 7, 2021
Augmented Dickey-Fuller (ADF) Test in R {https://t.co/3i16FKihNC} #rstats #DataScience
— R-bloggers (@Rbloggers) December 4, 2021
Introducing portfoliodown: The Data Science Portfolio Website Builder {https://t.co/Oj3x4P8Lmg} #rstats #DataScience
— R-bloggers (@Rbloggers) December 20, 2021
Shinytableau – How To Create Tableau Dashboard Extensions With R Shiny {https://t.co/G9UIqeFgbA} #rstats #DataScience
— R-bloggers (@Rbloggers) December 7, 2021
---
title: "RBloggers Top Tweets"
output:
flexdashboard::flex_dashboard:
vertical_layout: scroll
source_code: embed
theme:
version: 4
bootswatch: yeti
css: styles/main.css
---
```{r setup, include=FALSE}
library(flexdashboard)
library(dplyr)
library(httr)
library(lubridate)
library(jsonlite)
library(purrr)
rbloggers <- fromJSON("data/rbloggers.json")
get_tweet_embed <- function(user, status_id) {
url <-
stringr::str_glue(
"https://publish.twitter.com/oembed?url=https://twitter.com/{user}/status/{status_id}&partner=&hide_thread=false"
)
response <- GET(url) %>%
content()
return(shiny::HTML(response$html))
}
```
Column {.tabset .tabset-fade}
-----------------------------------------------------------------------
### Top Tweets - 7 days {.tweet-wall}
```{r}
rblog_7 <- rbloggers %>%
mutate(created_at = as_date(created_at)) %>%
filter(created_at %within% interval(start = today() - 7, end = today())) %>%
slice_max(favorite_count + retweet_count, n = 12)
rblog_7_html <-
map2_chr(rblog_7$screen_name, rblog_7$status_id, get_tweet_embed)
shiny::HTML(stringr::str_glue("{rblog_7_html}"))
```
### Top Tweets - 30 days {.tweet-wall}
```{r}
rblog_30 <- rbloggers %>%
mutate(created_at = as_date(created_at)) %>%
filter(created_at %within% interval(start = today() - 30, end = today())) %>%
slice_max(favorite_count + retweet_count, n = 12)
rblog_30_html <-
map2_chr(rblog_30$screen_name, rblog_30$status_id, get_tweet_embed)
shiny::HTML(stringr::str_glue("{rblog_30_html}"))
```